package com.hqyj.am.service;

import com.hqyj.am.dao.ScheduleMapper;
import com.hqyj.am.pojo.ResultVo;
import com.hqyj.am.pojo.Schedule;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;

/**
 *  系统设置类
 *
 * @author rock
 * @since 2022-08-16
 */
public interface IScheduleService extends IService<Schedule> {

    //修改系统设置
//    public ResultVo updateSystem(int id, String date1, String date2);
    public ResultVo updateSystem(Schedule schedule);

    //查询每月请假次数最多的员工
    public ResultVo selectLeaveMax(String date1, String date2);

    //查询每月迟到最多的员工
    public ResultVo selectLateMax(String date1, String date2);

    //查询每月早退最多的员工
    public ResultVo selectEarlyMax(String date1, String date2);

    //查询系统设置
    public ResultVo selectSystem(Schedule schedule);

    public ResultVo test(int i);


}
